// global transition css

/* fade */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.28s;
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}

/* fade-transform */
.fade-transform-leave-active,
.fade-transform-enter-active {
  transition: all 0.5s;
}

.fade-transform-enter {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-transform-leave-to {
  opacity: 0;
  transform: translateX(30px);
}

/* breadcrumb transition */
.breadcrumb-enter-active,
.breadcrumb-leave-active {
  transition: all 0.5s;
}

.breadcrumb-enter,
.breadcrumb-leave-active {
  opacity: 0;
  transform: translateX(20px);
}

.breadcrumb-move {
  transition: all 0.5s;
}

.breadcrumb-leave-active {
  position: absolute;
}

.slide-enter-active {
  animation-name: slide-in;
  animation-duration: 0.5s;
}

.slide-leave-active {
  animation-name: slide-out;
  animation-duration: 0.5s;
}

@keyframes slide-in {
  0% {
    transform: translate3d(100%, 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slide-out {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(100%, 0, 0);
  }
}

.drop-enter-to,
.drop-leave {
  max-height: 100%;
  overflow: hidden;
  opacity: 1;
}

.drop-enter,
.drop-leave-to {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
}

.drop-enter-active,
.drop-leave-active {
  transition-duration: 0.3s;
  transition-timing-function: ease-in;
}
